import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
 
// 用来存储数据
const state = {
    Loginstate:'0',
    user_info:[],
    ArticleId:'2',
    CourseId:'0',
    CourseMember:'0',
    CourseName:'',
    ArticleTitle:'hello world'
}
// 响应组件中的事件
const actions = {
    
}
// 操作数据
const mutations = {
  
}
// 用来将state数据进行加工

const getters = {
 
}


// 新建并暴露store
export default new Vuex.Store({
    state,
    actions,
    mutations, 
    getters,
})
 